package com.tcd.outRisk.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tcd.outRisk.entity.DispatchedWorkerInfo;
import com.tcd.outRisk.mapper.CaseReportInfoMapper;
import com.tcd.outRisk.mapper.DispatchedWorkerInfoMapper;
import com.tcd.outRisk.service.DispatchedWorkerInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 调度派工信息表 服务实现类
 * </p>
 *
 * @author Jarle
 * @since 2021-05-22
 */
@Service
public class DispatchedWorkerInfoServiceImpl extends ServiceImpl<DispatchedWorkerInfoMapper, DispatchedWorkerInfo> implements DispatchedWorkerInfoService {
    @Autowired
    DispatchedWorkerInfoMapper dispatchedWorkerInfoMapper;

    @Override
    public boolean DeditStatus(String clainMainid, String status) {
        return dispatchedWorkerInfoMapper.DeditStatus(clainMainid, status);
    }

    @Override
    public Integer DCount(String uid) {
        return dispatchedWorkerInfoMapper.DCount(uid);
    }
}
